package com.aaa.service.impl;

import com.aaa.dao.CustomerMapper;
import com.aaa.entity.Customer;
import com.aaa.service.ICustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ClassName CustomerServiceImpl
 * @Description TODO
 * @Author LP
 * @Date 2018/12/15 14:10
 * @Version 1.0
 **/
@Service
public class CustomerServiceImpl implements ICustomerService {
    @Autowired
    private CustomerMapper customerMapper;
    @Override
    public List<Customer> listCustomer(Map<String, Object> query) {
        return customerMapper.listCustomer(query);
    }
}
